package com.nju.edu.erp.model.po.promotion;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PromotionThreePO {
    //一个稀疏表，用于与数据库交互
    //type3. 总经理可以制定针对不同总价amountLevel的促销策略（赠送代金卷voucherAmount）
    private Integer strategyId;
    private BigDecimal amountLevel;
    private BigDecimal voucherAmount;
}
/*
    以下为可能的输入示例
    promotion_sheet_three:
    strategy-id | amount_level  | voucher_amount
    1           | 10000.00      | 100
    1           | 20000.00      | 200
    1           | 30000.00      | 350
    1           | 40000.00      | 400
*/